import { ShTerm } from "./index"


export class ShElement extends HTMLElement {

    constructor() {
        super()
    }

    public $term(): ShTerm | null {
        return (this.closest('.shterm-container') as any)?.$term
    }
}